Ext.define('NIM.view.Administration.main' ,{
    extend: 'Ext.panel.Panel',
    alias: 'widget.main_Administration',
    id: 'main_Administration',
    border: false,
width: 1 * screen.width,
height: 590,
layout: {
type: 'border'
},

 items: [
                        {
                            xtype: 'panel',
                            region: 'center',
                            title: 'Administration',
                            items: [
                                {
                                    xtype: 'menu',
                                    floating: false,
                                    width: 256,
                                    items: [
                                        {
                                            xtype: 'menuitem',
                                            text: 'Asset Categories'
                                        },
                                        {
                                            xtype: 'menuitem',
                                            text: 'Asset Sub Categories'
                                        },
                                        {
                                            xtype: 'menuitem',
                                            text: 'Asset Change Reason'
                                        },
                                        {
                                            xtype: 'menuitem',
                                            text: 'Warehouse'
                                        },
                                        {
                                            xtype: 'menuitem',
                                            text: 'Cost NSR Formula'
                                        },
                                        {
                                            xtype: 'menuitem',
                                            text: 'Cost PLN Formula'
                                        },
                                        {
                                            xtype: 'menuitem',
                                            text: 'Cost Non PLN Formula'
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            xtype: 'panel',
                            region: 'west',
                            width: 1150,
                            title: '',
                            items: [
                                {
                                    xtype: 'gridpanel',
                                    height: 590,
                                    title: 'Asset Categories',
                                    columns: [
                                        {
                                            xtype: 'gridcolumn',
                                            dataIndex: 'string',
                                            text: 'String'
                                        },
                                        {
                                            xtype: 'numbercolumn',
                                            dataIndex: 'number',
                                            text: 'Number'
                                        },
                                        {
                                            xtype: 'datecolumn',
                                            dataIndex: 'date',
                                            text: 'Date'
                                        },
                                        {
                                            xtype: 'booleancolumn',
                                            dataIndex: 'bool',
                                            text: 'Boolean'
                                        }
                                    ],
                                    dockedItems: [
                                        {
                                            xtype: 'pagingtoolbar',
                                            dock: 'bottom',
                                            width: 360,
                                            displayInfo: true
                                        },
                                        {
                                            xtype: 'toolbar',
                                            dock: 'top',
                                            items: [
                                                {
                                                    xtype: 'textfield',
                                                    fieldLabel: 'Keyword'
                                                },
                                                {
                                                    xtype: 'button',
                                                    text: 'Search'
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ]
                        }
                    ]


});